package inventory.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sxt
 * @since 2019-11-06
 */

public class ReparationRecord extends Model<ReparationRecord> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "reparation_id", type = IdType.UUID)
    private String reparationId;
    @TableField("device_IMEI")
    private String deviceImei;
    private String reparationTaking;
    private String reparationerId;
    private String reparationPointer;
    private String handleProgress;


    public String getReparationId() {
        return reparationId;
    }

    public void setReparationId(String reparationId) {
        this.reparationId = reparationId;
    }

    public String getDeviceImei() {
        return deviceImei;
    }

    public void setDeviceImei(String deviceImei) {
        this.deviceImei = deviceImei;
    }

    public String getReparationTaking() {
        return reparationTaking;
    }

    public void setReparationTaking(String reparationTaking) {
        this.reparationTaking = reparationTaking;
    }

    public String getReparationerId() {
        return reparationerId;
    }

    public void setReparationerId(String reparationerId) {
        this.reparationerId = reparationerId;
    }

    public String getReparationPointer() {
        return reparationPointer;
    }

    public void setReparationPointer(String reparationPointer) {
        this.reparationPointer = reparationPointer;
    }

    public String getHandleProgress() {
        return handleProgress;
    }

    public void setHandleProgress(String handleProgress) {
        this.handleProgress = handleProgress;
    }

    @Override
    protected Serializable pkVal() {
        return this.reparationId;
    }

    @Override
    public String toString() {
        return "ReparationRecord{" +
        ", reparationId=" + reparationId +
        ", deviceImei=" + deviceImei +
        ", reparationTaking=" + reparationTaking +
        ", reparationerId=" + reparationerId +
        ", reparationPointer=" + reparationPointer +
        ", handleProgress=" + handleProgress +
        "}";
    }
}
